package com.qfedu.edu.service;

/**
 * @author xiaobobo
 * @title: IJwtService
 * @projectName cd-fy-2401-third-project-parent
 * @description: TODO
 * @date 2024/9/13  15:24
 */
public interface IJwtService {

    /**
     * 通过token获取id
     *
     * @param token
     * @return
     */
    String getUserId(String token);

    /**
     * 通过token获取username数据
     *
     * @param token
     * @return
     */
    String getUsername(String token);
}
